package com.fypg.module.blooddonation.api.client.dal.bloodStation;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 请求头详细信息
 * @author 盘古
 */
@Data
@Schema(description = "请求头详细信息")
public class RequestHeadDetail {

    /**
     * 客户端IP地址
     */
    @Schema(
            description = "客户端IP地址",
            example = "127.0.0.1"
    )
    private String remoteIp = "127.0.0.1";

    /**
     * 客户端用户代理
     */
    @Schema(
            description = "客户端用户代理",
            example = "WeChat"
    )
    private String clientUserAgent = "WeChat";

    /**
     * 客户端类型
     */
    @Schema(
            description = "客户端类型",
            example = "mobile"
    )
    private String clientType = "mobile";

    /**
     * 内容类型
     */
    @Schema(
            description = "内容类型",
            example = "application/json"
    )
    private String contentType = "application/json";

    /**
     * 请求类型
     */
    @Schema(
            description = "请求类型",
            example = "GA02"
    )
    private String requestType = "GA02";

    /**
     * 业务流水号
     */
    @Schema(
            description = "业务流水号",
            example = "1597463683000"
    )
    private String businessNumber = String.valueOf(System.currentTimeMillis());
}

